AddRange Method (BigList)

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Adds a BigList of items to the end of BigList. The indices of all existing items are unchanged. The last item in list becomes the last item in this list. The added list list is unchanged.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public void AddRange(
	BigList<T> list
)
Visual Basic (Declaration)
Public Sub AddRange ( _
	list As BigList(Of T) _
)
Visual C++
public:
void AddRange (
	BigList<T>^ list
)

Parameters

list
BigList<(Of <T>)>
The list of items to add.

Remarks

This method takes, on average, constant time, regardless of the size of either list. Although conceptually all of the items in list are copied, storage is shared between the two lists until changes are made to the shared sections.

Exceptions

ExceptionCondition
System..::ArgumentNullExceptionlist is null.

See Also